We often see some data types in javascript, such as "undefined", "boolean", and "string, this article will help you learn the basic JavaScript data types, value types, and reference types. For more information, see this article, four basic data
The role of alert in JavaScript scripts is simply to bring up a modal warning dialog box on the webpage form. In most cases, it is used to verify the validity of the client input when the form is submitted. If the information entered by the user
First type: Alert () methodThe alert () method is the easiest to use in these three dialog boxes, and she can be used to simply and clearly display the text information in the alert () parentheses in the dialog box, which we call the Alert dialog
Document directory
1.4. Javascript in other contexts
1.4. Javascript in other environments
1.5. processing Javascript
1.5. go deep into Javascript
Statement: translation has only one purpose: learning purposes. If you have any copyright
ArticleDirectory
Javascript Introduction
How to Implement Javascript
Where to place Javascript
Javascript statements
Javascript Variables
Javascript Operators
Javascript branch statement
Javascript message box
This article I will introduce the pop-up window component modal in bootstrap, this component is simple and easy to use, the effect atmosphere is beautiful and very practical!
Many items Customize dialog box components because of the poor experience
Gets the selected valueGets the value of a set of radio selected itemsvar item = $ (' input[@name =items][@checked] '). Val ();Gets the text of the Select selected itemvar item = $ ("select[@name =items] option[@selected]"). Text ();The second
JavaScript BasicsJavaScript is a scripting language that belongs to the web!JavaScript is used by millions of of pages to improve design, verify forms, detect browsers, create cookies, and more.JavaScript is the most popular scripting language on
ArticleDirectory
Debugging tool-console. Log
Debugging example: Google Calendar API
Add a breakpoint in the browser to debug JavaScript code
Tips-add Smart Tips When writing JS independent files in
Conclusion
I don't
I don't know how many people like me, web development in a few years, countless JS Code, debugging scripts only use the alert method.
I don't know how many people are like me. In a simple method, alert needs to be constantly used during development
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.